package com.sharer.last.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sharer.last.base.model.PageVO;
import com.sharer.last.model.dto.log.OperationLogChangeDTO;
import com.sharer.last.model.dto.log.OperationLogQueryDTO;
import com.sharer.last.model.vo.log.OperationLogVO;
import org.springframework.scheduling.annotation.Async;
import com.sharer.last.model.po.OperationLogPO;

public interface OperationLogService extends IService<OperationLogPO> {
	/**
	 * 分页查询
	 *
	 * @param operationLogDTO
	 * @return
	 */
	PageVO<OperationLogVO> selectListByPage(OperationLogQueryDTO operationLogDTO);

	/**
	 * 新增日志
	 *
	 * @param log
	 */
	@Async
	void createOperationLog(OperationLogChangeDTO log);

	/**
	 * 删除日志
	 *
	 * @param id
	 */
	void removeOperationLogById(Long id);





}
